Skip to content

Fix ast-id-only IR debug info output#16734

Open
LeviofCrypto wants to merge 1 commit into
argotorg:developfrom
LeviofCrypto:fix-ast-id-only-ir-debug-info
Open

Fix ast-id-only IR debug info output#16734
LeviofCrypto wants to merge 1 commit into
argotorg:developfrom
LeviofCrypto:fix-ast-id-only-ir-debug-info

Conversation

@LeviofCrypto
Copy link
Copy Markdown

Description

settings.debug.debugInfo: ["ast-id"] still emitted @src comments in generated IR because the shared source-location helper treated any non-empty debug info selection as a location request. Skip location comment creation unless the location component is selected, while preserving @ast-id output.

Adds a Standard JSON cmdline test for the ast-id-only IR/EVM assembly output case.

Checklist

AI Disclosure

  • No AI tools were used
  • AI tools were used (details below)

OpenAI Codex assisted with reviewing the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant